#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<assert.h>

char* MY_Strcat(char* destination, const char* source);

int main()
{
	char arr1[20] = { "Hello " };
	char arr2[] = { "World" };
	MY_Strcat(arr1, arr2);
	printf("%s\n", arr1);
	return 0;
}

char* MY_Strcat(char* destination, const char* source)
{
	assert(destination != NULL);
	assert(source != NULL);
	char* str = destination;
	while (*str != '\0')
	{
		str++;
	}
	while (*str++ = *source++)
	{
		;
	}
	return str;
}
